#ifndef _STDOP_H
#define _STDOP_H

#include "..\Inc\type.h"


s16 Stdop_ParaAdd(s16 para,s16 min,s16 max,bool cycle,s16 unit);
s16 Stdop_ParaSub(s16 para,s16 min,s16 max,bool cycle,s16 unit);
void Stdop_HexToAscii(u8 para,u8* high,u8* low);
void Stdop_AsciiToHex(u8 high,u8 low,u8* para);
bool Stdop_QueueAsciiToHex(u8 *source,u8 size,u8 *target);
bool Stdop_QueueHexToAscii(u8 *source,u8 size,u8 *target);
void Stdop_MemoryCopy(void *source, void *target,u16 size);
void Stdop_MemoryClear(void *source,u16 size);
bool Stdop_MemoryCompare(void *dat1,void *dat2,u16 size);
void Stdop_MemorySet(void *dat,u8 para,u16 size);

#endif


